import "mdb-vue-ui-kit/css/mdb.min.css";

import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import router from "./router";
import store from './store'; // 引入 store
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/en'
// import Tmap from '@map-component/vue-tmap';
// import VueAMap, {initAMapApiLoader} from '@vuemap/vue-amap';
import '@vuemap/vue-amap/dist/style.css'
const app = createApp(App);
// initAMapApiLoader({
//     key: 'c1bdf1b2baedd0d27cb79f5d8c0f7b44',
//     securityJsCode: 'c8bc2be4b1f1ad91dafaf87dd841d330', // 新版key需要配合安全密钥使用
//     //Loca:{
//     //  version: '2.0.0'
//     //} // 如果需要使用loca组件库，需要加载Loca
//   })


app.use(router).use(ElementPlus,{locale:zhCn}).use(store);
app.mount('#app');